<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<h1>你来, 我就嫁给你</h1>
	<img src="./lyf.jpG" onmouseover="marry()" onmouseout="mar()" />
</body>
<script type="text/javascript">
	function marry(){
		var img = document.getElementsByTagName('img')[0];
		img.src = './mn.png';
	}

	function mar(){
		var img = document.getElementsByTagName('img')[0];
		img.src = './lyf.jpg';
	}
</script>
</html>